/* 赫妍风格全局样式 */
:root {
  /* 赫妍风格配色 */
  --hera-bg-white: #ffffff;
  --hera-bg-cream: #fafafa;
  --hera-text-black: #000000;
  --hera-text-dark: #1a1a1a;
  --hera-text-gray: #666666;
  --hera-border: #e8e8e8;
  
  font-family: 'Helvetica Neue', 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  line-height: 1.6;
  font-weight: 400;
  color: var(--hera-text-dark);
  background-color: var(--hera-bg-white);

  font-synthesis: none;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  margin: 0;
  padding: 0;
  min-width: 320px;
  min-height: 100vh;
  background-color: var(--hera-bg-white);
  color: var(--hera-text-dark);
}

a {
  color: var(--hera-text-dark);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--hera-text-black);
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 300;
  letter-spacing: 1px;
  color: var(--hera-text-dark);
}

h1 {
  font-size: 3.2em;
  line-height: 1.1;
}

button {
  font-family: inherit;
  transition: all 0.3s ease;
  border-radius: 0;
}

#app {
  width: 100%;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

/* 优雅的滚动条 */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--hera-bg-white);
}

::-webkit-scrollbar-thumb {
  background: var(--hera-border);
  border-radius: 0;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--hera-text-gray);
}

/* Element Plus 组件样式覆盖 */
.el-menu {
  border: none !important;
}

.el-menu--horizontal .el-menu-item {
  border-bottom: none !important;
  font-weight: 400;
  letter-spacing: 0.5px;
}

.el-menu--horizontal .el-menu-item:hover {
  background-color: transparent !important;
  color: var(--hera-text-black) !important;
}

.el-card {
  border-radius: 0 !important;
  border: 1px solid var(--hera-border) !important;
  box-shadow: none !important;
}

.el-button {
  border-radius: 0 !important;
}

.el-button--primary {
  background-color: var(--hera-text-black) !important;
  border-color: var(--hera-text-black) !important;
}

.el-button--primary:hover {
  background-color: var(--hera-text-dark) !important;
  border-color: var(--hera-text-dark) !important;
}

.el-input__inner {
  border-radius: 0 !important;
  border: 1px solid var(--hera-border) !important;
}
